Web accessibility assistant

ABSTRACT

A method and article of manufacture in computer readable form for web page navigation without use of a computer mouse. A computer program is executed on a central processing unit (CPU) of a computer system that includes a keyboard and a display screen. A first web page, which includes at least one Universal Resource Locator (URL), is fetched. The fetched first web page is parsed. As each URL of the at least one URL on the first web page is encountered during the parsing of the first web page, computer code that associates a two-key code with each URL on the first web page is generated and executed. The first web page is displayed on the display screen, which includes depicting on the displayed first web page: each two-key code and an indication of which URL on the first web page each two-key code is associated with.

This application is a divisional of Ser. No. 10/166,839, filed Jun. 11, 2002.

TECHNICAL FIELD

The field of the invention is that of computer programs for assisting disabled persons to use the Internet, in particular the World Wide Web.

BACKGROUND OF THE INVENTION

Recommendations for standard methods for accessing the Internet have been made by various bodies such as World Wide Web Consortium (W3C), W3C—Web Accessibility Initiative (WAI), IBM Corporation Microsoft Corporation, National Institute for Disability and Rehabilitation Research and Verizon Foundation, including methods appropriate for use by persons with various handicaps.

In particular, advocates for the disabled recommend that standard client/server applications should be accessible/_navigatable_by multiple methods. Moreover, this would be beneficial to diverse companies who wish to expand their existing user/customer base to allow end-users to navigate using either a mouse or the keyboard.

Not all web sites are aware of such standards, let alone being compliant with them and there are many web sites that people who cannot use a mouse cannot access.

It would be advantageous if a program were available to modify non-compliant web sites so that they may be accessed using only the keyboard.

SUMMARY OF THE INVENTION

The invention relates to a computer program that modifies a web page and converts the URL links to a handicap-accessible format.

A feature of the invention is the filtering of a web page and conversion of all URL links into navigation elements that may be navigated via either a mouse or a keyboard.

Another feature of the invention is the addition of “ALT” parameters to images that are links to web sites so that alternative text information for graphical images referenced by the “IMG” tag helps the visitor understand what is on the page even if they are using a text browser or if they have image loading turned off in their graphical browser.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a flow chart for a program according to the invention.

FIG. 2 represents schematically a computer system for use with the invention.

FIG. 3 illustrates an introductory screen displayed by a program according to the invention.

FIG. 4 illustrates a Web page modified by a program according to the invention.

DETAILED DESCRIPTION

In the course of viewing sites on the Internet, users routinely place the mouse cursor on an icon, photograph or other location on the computer display and click the mouse button. Although word processing programs permit the user to use “shortcuts” employing keys on the keyboard, Internet browsers do not have this capability.

Keyboard navigation capability is provided by a program, resident in memory, that can be invoked to process the screen image presented by an Internet site and to generate key combinations that will cause the computer to perform the same functions as mouse clicks.

Those skilled in the art are aware that a web site passes (through the browser) to the user's computer a collection of parameters that specify the image displayed on the screen. Among the items displayed are icons that invoke other pages in that web site or other web sites. When the user clicks his mouse (the phrase “mouse click” also refers to equivalent switch data such as input from a trackball or from a joystick on a laptop) on the icon, the browser fetches data from the URL associated with the icon. The URL itself, being a string of numbers, is not displayed to the user. The icon may be text—(e.g. www.somesite.com) or a graphic symbol. For convenience in expressing the claims, the term “URL” will be taken to mean any representation of the data used by the Web, including text and graphics. When the web page is displayed on the computer screen, a representation of the screen is stored in computer memory. The representation may be in an expanded form specifying the color for each pixel or it may be in the condensed form of the HTML (or other language). When the system has moved on to another screen, previously displayed screens are often cached, so that they may be called up quickly. The cache may be in RAM or in slower storage, such as a disk.

A program according to the invention may operate in at least the following modes:

1. A web-based GUI interface (basically a web page), that the user would invoke (e.g. FIG. 3). Once at the web page, the user is provided with a text-box to type a URL (Universal Resource Locator) into. The URL that is typed into the text-box on the web page is fetched and “transcoded” on the fly by the inventive program to enable triggering URL's by keystroke. Each subsequent page fetched from then on is transcoded to enable keystrokes. The display of the data is performed by the browser.

2. A plug-in to the browser client application; i.e. the application could run locally to the web browser. Once activated, the program would enable the displayed web page to have the appropriate keystroke mechanism for each URL displayed. Each subsequent page fetched from then on is transcoded to enable keystrokes (FIG. 2).

3. A Proxy Server implementation that intercepts the data stream coming from the Internet to the browser and transcodes (analogous to translating) the data on the fly.

4. A developer interface implementation that would enable the author of a web page to include special symbols in the actual HTML code (e.g.: @HOTKEY=_A_). When a web browser requests the web page, a processor on the web server scans the requested web page and finds the special symbols in the HTML code (e.g.: @HOTKEY=_A_) and converts these to the appropriate keystroke mechanism for each URL displayed. Every web page called that contains the special symbol in the HTML code would be enabled for _transcoding_.

In operation, the program parses the data for a web page. A detailed description of the steps involved is shown in TABLE 1, with a simplified version in FIG. 1. When the program encounters a URL, it generates computer code (preferably in the JavaScript language) that inserts a two-key code in the screen display near the icon that represents the URL. When the screen is displayed and the computer is waiting for a response, the program scans the keyboard data stream for any of the codes that it has displayed. It intercepts a code from the user and passes the appropriate mouse clicks to the browser (along with the data that is ordinarily sent to the browser, e.g. the actual URL associated with the icon). TABLE 1

The browser fetches the information that the user has specified with the key code, e.g. another web page, and the program parses that in the same way. The procedure continues through the Internet session, so that, once the program has been invoked, the user sees keycodes on each screen containing a URL without further action on his part.

The JavaScript code is placed in the header of the HTML document, so that it is stored along with the other document data when the page is cached in computer memory. Thus, when the user performs an act equivalent to clicking on the “back” arrow on the screen (e.g. typing the 2-key code for the back arrow) the stored page is fetched from memory with the key codes already placed in the data.

Those skilled in the art are familiar with the standard format that presents a URL to the user, such as—“www.somesite.com” and also with the convention that the mouse pointer arrow changes to a hand with a pointing finger when the mouse cursor passes over a photograph or other icon that does not show text. Optionally, the parsing action of the program includes testing images for links to URLs. If a link is found, the program converts an ALT parameter associated with the image to generate a key code in the same way as with other links. If an ALT parameter is not found, the program adds one, together with the keycode.

The keycodes are preferably chosen so that they contain a symbol such as # that does not occur in ordinary text and so will not cause confusion with text that the user may type in the course of using the web page (such as a search request). Optionally, the user may type the key-combination that “wakes” the listener the keyboard assistant then traps keystrokes and tries to associate it with a URL link on the displayed page. The keyboard assistance turns itself off when one of the following conditions are met: 1-after a link is successfully triggered, 2-after the key combination toggles the listener off.

The keycodes can be anything a programmer wants (illustratively beginning with a symbol such as _#_or the key combination) or any character combination. A programmer using the invention may choose to display the keycode next to each link on the page or in a separate box that lists keycodes together with the URLs that they substitute for, depending on a design choice. As another design choice, the programmer may choose to include code to enable the user to navigate through the screen display using the keyboard: (screen top, screen bottom, tab to go to the next URL, etc.).

Referring now to FIG. 2, there is shown in schematic form a typical computer system, in which CPU 105 performs the processing, CRT 115 is the screen display, mouse 130 provides the mouse clicks that are substituted for, keyboard 120 is used for the keystroke combinations, CDROM 110 may be used for transferring programs, disk 125 and software box 300 store the programs and data and printer 135 and standard output and input functions.

While the invention has been described in terms of a single preferred embodiment, those skilled in the art will recognize that the invention can be practiced in various versions within the spirit and scope of the following claims. 

1. A method for web page navigation without use of a computer mouse, said method implemented by execution of a computer program on a central processing unit (CPU) of a computer system, said computer system comprising a keyboard and a display screen, said method comprising: fetching a first web page, said first web page comprising at least one Universal Resource Locator (URL); parsing the fetched first web page; as each URL of the at least one URL on the first web page is encountered during said parsing of the first web page: generating and executing computer code that associates a two-key code with said each URL on the first web page; and displaying the first web page on the display screen, said displaying comprising depicting on the displayed first web page: each two-key code and an indication of which URL on the first web page each two-key code is associated with.
 2. The method of claim 1, wherein said depicting comprises depicting each two-key code near an icon that represents the URL that each two-key code is associated with.
 3. The method of claim 1, wherein said depicting comprises depicting on the first web page a box that lists each two-key code and the URL that each two-key code is associated with.
 4. The method of claim 1, said method further comprising: after said displaying the first web page, scanning a keyboard data stream for detection of a first two-key code of the displayed two-key codes on the first web page, the URL on the first web page associated with the first two-key code having a link to a second web page, said keyboard data stream having been generating from use of the keyboard by a user of the computer system following said displaying.
 5. The method of claim 4, said method further comprising in response to detection of the first key-code during said scanning: fetching a second web page, said second web page comprising at least one Universal Resource Locator (URL); parsing the fetched second web page; as each URL of the at least one URL on the second web page is encountered during said parsing of the second web page: generating and executing computer code that associates a two-key code with said each URL on the second web page; and displaying the second web page on the display screen, said displaying comprising depicting on the displayed second web page: each two-key code and an indication of which URL on the second web page each two-key code is associated with.
 6. The method of claim 5, said method further comprising after said displaying the second web page: detecting a back arrow two-key code from the keyboard data stream; and responsive to said detecting the back arrow two-key code: redisplaying the first web page on the display screen in a same manner that the first web page had been previously displayed.
 7. The method of claim 1, wherein the generated computer code is in a JavaScript language.
 8. An article of manufacture in computer readable form comprising means for performing a method for operating, in a computer system having a keyboard and a display screen, a program that implements web page navigation without use of a computer mouse, said method comprising: fetching a first web page, said first web page comprising at least one Universal Resource Locator (URL); parsing the fetched first web page; as each URL of the at least one URL on the first web page is encountered during said parsing of the first web page: generating and executing computer code that associates a two-key code with said each URL on the first web page; and displaying the first web page on the display screen, said displaying comprising depicting on the displayed first web page: each two-key code and an indication of which URL on the first web page each two-key code is associated with.
 9. The article of manufacture of claim 8, wherein said depicting comprises depicting each two-key code near an icon that represents the URL that each two-key code is associated with.
 10. The article of manufacture of claim 8, wherein said depicting comprises depicting on the first web page a box that lists each two-key code and the URL that each two-key code is associated with.
 11. The article of manufacture of claim 8, said method further comprising: after said displaying the first web page, scanning a keyboard data stream for detection of a first two-key code of the displayed two-key codes on the first web page, the URL on the first web page associated with the first two-key code having a link to a second web page, said keyboard data stream having been generating from use of the keyboard by a user of the computer system following said displaying.
 12. The article of manufacture of claim 11, said method further comprising in response to detection of the first key-code during said scanning: fetching a second web page, said second web page comprising at least one Universal Resource Locator (URL); parsing the fetched second web page; as each URL of the at least one URL on the second web page is encountered during said parsing of the second web page: generating and executing computer code that associates a two-key code with said each URL on the second web page; and displaying the second web page on the display screen, said displaying comprising depicting on the displayed second web page: each two-key code and an indication of which URL on the second web page each two-key code is associated with.
 13. The article of manufacture of claim 12, said method further comprising after said displaying the second web page: detecting a back arrow two-key code from the keyboard data stream; and responsive to said detecting the back arrow two-key code: redisplaying the first web page on the display screen in a same manner that the first web page had been previously displayed.
 14. The article of manufacture of claim 8, wherein the generated computer code in a JavaScript language. 